package com.koron.operation.classes.shift.feign;

import com.koron.bean.base.Response;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 查询业务配置
 * @author jzp
 * @since 2021/10/28
 */
@Service
@FeignClient(value = "eam-service-configure", fallbackFactory = FeignFallbackFactory.class)
public interface ConfigureFeignService {
    /**
     * 查询交接班配置list
     */
    @GetMapping("/dockingconf/tipList")
    Response<Object> queryList(@RequestParam("deptId") String deptId,
                               @RequestParam("location") String location,
                               @RequestParam("onduty") String onduty);
}
